﻿using System.Collections.Generic;
using Microsoft.SharePoint;

namespace System.Modules.SharePoint.Contracts.DTO
{
    /// <summary>
    /// SP List Folder
    /// </summary>
    public class SPListFolder : BaseListItem
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public SPListFolder()
        {
            Items = new List<SPListItem>();
            Folders = new List<SPListFolder>();
        }
        #endregion

        #region Properties
        /// <summary>
        /// Items
        /// </summary>
        public List<SPListItem> Items { get; set; }

        /// <summary>
        /// Folders
        /// </summary>
        public List<SPListFolder> Folders { get; set; }
        #endregion
    }
}